import request from '@/utils/v2/request';
import { tansParams, } from "@/utils/v2/ruoyi";
//内容检测接口
class contentDetectionAPI {
    //查询列表
    getKeyCheckList(params){
        return request.post('/police/userUpdate/getKeyCheckList',  params);
    }

    //查询用户巡检源列表
    getKeyUserList(params){
        return request.get('/police/keyUser/list'+ '?' + tansParams(params));
    }

    //修改错误明细
    updateKeyCheck(params){
        return request.post('/police/userUpdate/updateKeyCheck',  params);
    }

    //撤回错误明细
    updateKeyCheckBack(params){
        return request.post('/police/userUpdate/updateKeyCheckBack',  params);
    }

}
export const ContentDetectionAPI = new contentDetectionAPI();
